package logs

import (
	"fmt"
	"time"
)

// Info logs info out
func Info(format string, v ...interface{}) {
	fmt.Printf("[INFO] ["+time.Now().Format("2006-01-02 15:04:05")+"] "+format+"\n", v...)
}

// Warn logs warn out
func Warn(format string, v ...interface{}) {
	fmt.Printf("[WARNINH] ["+time.Now().Format("2006-01-02 15:04:05")+"] "+format+"\n", v...)
}

// Error logs error out
func Error(format string, v ...interface{}) {
	fmt.Printf("[ERROR] ["+time.Now().Format("2006-01-02 15:04:05")+"] "+format+"\n", v...)
}
